package com.net.oil.coupon.bean;

import java.util.Objects;

/**
 * 作者：lch
 * 时间：2019/12/17 0017:下午 21:35
 * 邮箱：245850413@qq.com
 * 说明：
 */
public class CouponRecordRefBusiness {

    private Integer bid;
    private String businessName;

    public CouponRecordRefBusiness() {
    }

    public CouponRecordRefBusiness(Integer bid, String businessName) {
        this.bid = bid;
        this.businessName = businessName;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CouponRecordRefBusiness that = (CouponRecordRefBusiness) o;
        return Objects.equals(bid, that.bid) &&
                Objects.equals(businessName, that.businessName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(bid, businessName);
    }
}
